<?php
/**
 * com_Easiv3
 * 
 * @author Lukas Gruber
 * @copyright 2012, Lukas Gruber
 * @license GNU/GPLv3 - http://www.gnu.org/licenses/gpl-3.0.html
 * @contact lukasgruber@gmx.net
 * @website http://www.lukasg255.bplaced.net
 */

defined('_JEXEC') or die();

jimport('joomla.application.component.controller');

class Easiv3Controller extends JController {
	
	function display($chachable = false, $urlparams = false) {
		if(JRequest::getVar('view') == "") {
			JRequest::setVar('view', 'splash');
		}
		else {
			JRequest::setVar('view', JRequest::getVar('view'));
		}		
		parent::display();
	}
	
	function gotoInstances() {		
		JRequest::setVar('view', 'ManageInstances');
		
		parent::display();
	}
	
function gotoExtensions() {		
		JRequest::setVar('view', 'ManageExtensions');
		
		parent::display();
	}
}
?>